package com.example.demoddd.domain.userauth.model.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;

/**
 *  实体类。
 *
 * @author lhl
 * @since 2024-06-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("st_role_permissions")
public class StRolePermissions implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Long roleId;

    @Id
    private Long permissionId;

}
